<?php  
require_once($_SERVER['DOCUMENT_ROOT'].'/mpd/config/config.php');

if (isset ($_POST ['hapus']))
{  
	
	$nip = key ($_POST['hapus']);
	$status = 3;
	
    $query=("UPDATE biodata SET ID_STATUS='$status' WHERE NIP = '$nip'");   
    mysql_query($query); 
	
header('Location: /mpd/admin/view/index.php');
}


?>